//
//  FinishRechargeController.m
//  WuJieLive
//
//  Created by 张瀚坤 on 2017/11/6.
//  Copyright © 2017年 zhk. All rights reserved.
//

#import "FinishRechargeController.h"

@interface FinishRechargeController ()
@property (weak, nonatomic) IBOutlet UIButton *toMyWalletBtn;

@end

@implementation FinishRechargeController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

-(void)setNavi
{
    self.title = @"充值完成";
    [self.leftBtn setImage:Image(@"icon_nav_关闭") forState:(UIControlStateNormal)];
}

-(void)setUI
{
    self.toMyWalletBtn.layer.masksToBounds = YES;
    self.toMyWalletBtn.layer.cornerRadius = 15;
    self.toMyWalletBtn.layer.borderWidth = 0.5;
    self.view.backgroundColor = Color(245, 245, 245);
}

-(void)leftBtnAction:(UIButton *)sender
{
    [self.navigationController popToRootViewControllerAnimated:YES];
}

- (IBAction)toMyWalletAction:(id)sender {
    
    [self.navigationController popViewControllerAnimated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
